﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BatchPlanCreator.aspx.cs"
    Inherits="AMSInventoryWeb.BaseData.BatchPlanCreator" %>

<%@ Register Assembly="VitCode.Web.UI.PaginationGrid" Namespace="VitCode.Web.UI"
    TagPrefix="PaginationGrid" %>
<%@ Register Assembly="VitCode.Web.UI.ConditionSelector" Namespace="VitCode.Web.UI"
    TagPrefix="cc1" %>
<%@ Register Src="../UserControls/NavigateCtl.ascx" TagName="NavigateCtl" TagPrefix="uc1" %>
<%@ Register src="../UserControls/CalendarCtl.ascx" tagname="CalendarCtl" tagprefix="uc2" %>
<%@ Register src="../UserControls/ChildObjectSetCtl.ascx" tagname="ChildObjectSetCtl" tagprefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>盘点计划批量生成</title>
    <link href="../ScriptFiles/CSS/Main.css" type="text/css" rel="stylesheet" />
    <link href="../ScriptFiles/CSS/style.css" type="text/asa" rel="Stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <table class="tableElse" width="100%" style="border: 1px solid #A8CFEB; margin-top: 2px;">
        <tr>
            <td>
                <span id="NavigateCtl1_lblNav">您当前的位置：盘点管理&nbsp;<img src="../Images/navigate.gif" alt="" href="#" />&nbsp;批量生成</span>
<input type="hidden" name="NavigateCtl1$hdnSettingXmlPath" id="NavigateCtl1_hdnSettingXmlPath" />
            </td>
        </tr>
            <tr>
            <td>
                <asp:Label ID="lblSelColName" runat="server">查询条件：</asp:Label><asp:DropDownList ID="ddlCondition"
                    runat="server">
                </asp:DropDownList>
                <asp:TextBox ID="txtValue" runat="server" Width="136px"></asp:TextBox><asp:RadioButton
                    ID="rbtAmount" runat="server" Text="匹配" GroupName="1"></asp:RadioButton><asp:RadioButton
                        ID="rbtLike" runat="server" Text="模糊" GroupName="1" Checked="True"></asp:RadioButton>&nbsp;&nbsp;
                <asp:Button ID="btnQuery" runat="server" OnClick="btnQuery_Click" class="btn_mouseout"
                    onmouseover="this.className= 'btn_mouseover' " onmouseout="this.className= 'btn_mouseout' "
                    onmousedown="this.className= 'btn_mousedown'" Text="查    询" />&nbsp;
                <cc1:ConditionSelector ID="ConditionSelector1" runat="server" OnSelectCondition="ConditionSelector1_SelectCondition"
                    ButtonClassName="btn_mouseout" OnMouseDownJS="this.className= 'btn_mousedown'"
                    OnMouseOutJS="this.className= 'btn_mouseout'" OnMouseOverJS="this.className= 'btn_mouseover'"
                    FieldSourceGrid="pgList" />
                &nbsp;
                <asp:Button ID="btnCreate" runat="server" Text="批量生成" class="btn_mouseout" onmouseover="this.className= 'btn_mouseover' "
                    onmouseout="this.className= 'btn_mouseout' " onmousedown="this.className= 'btn_mousedown'"
                    ToolTip="选择当前记录集" OnClick="btnCreate_Click" Enabled="false" />
            </td>
        </tr>
    </table>
    <table class="tableElse" width="100%" style="border: 1px solid #A8CFEB; margin-top: 2px; border-collapse:collapse;">
        <tr>
            <td width="15%" class="tdPageObjProMemo">
                分组属性：
            </td>
            <td class="tdPageObjProVal" > 
              <asp:DropDownList ID="ddlGroupPro" Width="155px" runat="server" Height="16px">
                </asp:DropDownList>
            </td>
            <td width="15%" class="tdPageObjProMemo">
                盘点计划名前缀：
            </td>
            <td class="tdPageObjProVal" colspan="3"> 
               <asp:TextBox ID="txtPlanHeadString" runat="server">Plan_</asp:TextBox> 
            </td>
        </tr>
    
        <tr>
         <td width="15%" class="tdPageObjProMemo">
                单计划最大资产量：
            </td>
            <td class="tdPageObjProVal" > 
              <asp:TextBox ID="txtMaxOnePlanAmount" runat="server">1000</asp:TextBox>
            </td>
            <td width="15%" class="tdPageObjProMemo">
                负责人
            </td>
            <td class="tdPageObjProVal" colspan="3"> 
                <uc3:ChildObjectSetCtl ID="ucPrincipal" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="tdPageObjProMemo">
                开始时间
            </td>
            <td class="tdPageObjProVal">
                <uc2:CalendarCtl ID="ucStartDate" runat="server" />
            </td>
        
            <td class="tdPageObjProMemo">
                结束时间
            </td>
            <td class="tdPageObjProVal">
                <uc2:CalendarCtl ID="ucEndDate" runat="server" />
            </td>
        </tr>
     </table>
 
                <PaginationGrid:PaginationGrid ID="pgList" runat="server" DataKeyField="Id" OnOnGridItemSelect="pgList_OnGridItemSelect"
                    AutoSort="True" DataPaginationMode="Customize">
                    <Columns>
                        <PaginationGrid:PaginationGridButtonColumn CommandType="Select" HeaderText="明细" Text="&lt;img src='/Images/edit.gif' border=0&gt;">
                        </PaginationGrid:PaginationGridButtonColumn>
                        <PaginationGrid:paginationgridboundcolumn DataField="Barcode" HeaderText="资产条码">
                        </PaginationGrid:paginationgridboundcolumn>
                        <PaginationGrid:paginationgridboundcolumn DataField="TypeName" HeaderText="类别">
                        </PaginationGrid:paginationgridboundcolumn>
                        <PaginationGrid:paginationgridboundcolumn DataField="Name" HeaderText="名称">
                        </PaginationGrid:paginationgridboundcolumn>
                        <PaginationGrid:paginationgridboundcolumn DataField="AssetTypeInfo" HeaderText="类型信息">
                        </PaginationGrid:paginationgridboundcolumn>
                        <PaginationGrid:PaginationGridBoundColumn DataField="ModelNumber" HeaderText="规格型号">
                        </PaginationGrid:PaginationGridBoundColumn>
                        <PaginationGrid:PaginationGridBoundColumn DataField="UnitInfo" HeaderText="单位">
                        </PaginationGrid:PaginationGridBoundColumn>
                        <PaginationGrid:paginationgridboundcolumn DataField="SiteInfo" HeaderText="地点信息">
                        </PaginationGrid:paginationgridboundcolumn>
                        <PaginationGrid:paginationgridboundcolumn DataField="Location" HeaderText="详细位置">
                        </PaginationGrid:paginationgridboundcolumn>
                        <PaginationGrid:paginationgridboundcolumn DataField="NatureInfo" HeaderText="性质">
                        </PaginationGrid:paginationgridboundcolumn>
                        <PaginationGrid:paginationgridboundcolumn DataField="SourceInfo" HeaderText="来源">
                        </PaginationGrid:paginationgridboundcolumn>
                        <PaginationGrid:paginationgridboundcolumn DataField="DepartmentInfo" HeaderText="部门信息">
                        </PaginationGrid:paginationgridboundcolumn>
                        <PaginationGrid:paginationgridboundcolumn DataField="Manufacturers" HeaderText="制造商">
                        </PaginationGrid:paginationgridboundcolumn>
                        <PaginationGrid:paginationgridboundcolumn DataField="Supplier" HeaderText="供应商">
                        </PaginationGrid:paginationgridboundcolumn>
                    </Columns>
                </PaginationGrid:PaginationGrid>
 
    </form>
</body>
</html>
